<template>
  <div>
    <!-- 背景图 -->
    <van-image
      width="100%"
      height="100%"
      src="http://liufusong.top:8080/img/profile/bg.png"
    />

    <div class="login">
      <div class="tou">
        <van-image
          round
          width="60px"
          height="60px"
          src="http://liufusong.top:8080/img/profile/avatar.png"
        />
      </div>

      <p>游客</p>
      <van-button type="primary" @click="$router.push('/login')"
        >去登录</van-button
      >
    </div>
    <div class="box">
      <!-- 宫格 -->
      <van-grid :column-num="3" :border="false" icon-size="22px">
        <van-grid-item icon="star-o" text="我的收藏" />
        <van-grid-item icon="wap-home-o" text="我的出租" />
        <van-grid-item icon="underway-o" text="看房记录" />
      </van-grid>
      <van-grid :column-num="3" :border="false" icon-size="22px">
        <van-grid-item icon="sign" text="成为房主" />
        <van-grid-item icon="contact" text="个人资料" />
        <van-grid-item icon="service-o" text="联系我们" />
      </van-grid>
    </div>

    <div class="baner">
      <van-image
        width="345px"
        height="84px"
        src="http://liufusong.top:8080/img/profile/join.png"
      />
    </div>
  </div>
</template>

<script>
export default {
  name: 'myhome-title',
  data() {
    return {}
  },

  created() {},

  methods: {}
}
</script>

<style scoped lang="less">
.tou{
   position: fixed;
   top: 100px;
   margin-left: 130px;
  border: 5px solid #f5f5f5;
    box-shadow: 0 0 10px 3px #ddd;
  border-radius: 50%;
}
.login {
  position: fixed;
  width: 319px;
  height: 165px;
  background-color: rgb(255, 255, 255);
  top: 35vw;
  margin: 0 30px;
  padding-bottom: 20px;
  box-shadow: 0 0 10px 3px #ddd;
  text-align: center;
}

.van-button {
  border-radius: 5px;
  width: 73px;
  height: 30px;
   font-size:13px
}
p{
  margin: 50px 0 30px;;
  font-size:13px
}
.box {
  margin-top: 110px;
  margin-bottom: 30px;
}

.baner{
  margin-left: 15px;
}
</style>
